<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>

        <title>test</title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.8.3/jquery.min.js"></script>
        <script type="text/javascript">
            /* $(function(){
                click11(function(){
                    alert('sss');
                });
            });
        
            function click11(fn)
            {
                result="aaa";
                fn(result);
            }*/
    
    function fun()
    {
        $(":text").eq(0).val("xxx");
    }
        </script>
    </head>
    <body class="bgcolor_gray">
        <input type="text" id="t1" /><br/>
        <input type="text" id="t2" /><br/>
        <input type="text" id="t3" /><br/>
        <input type="button" id="b1" onclick="javascript:fun();" value="click"/><br/>
    </body>
</html>
